package com.wsp.apimanagement.pojo.vo;

import com.wsp.apimanagement.pojo.entity.Record;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Package: com.wsp.apimanagement.pojo.vo
 * Description： TODO
 *
 * @Author: 巫思平
 * Copyright: Copyright (c) 2020
 * Version: 1
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "说说详细信息")
public class RecordInfo {

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户头像")
    private String userAvatar;

    @ApiModelProperty("是否点赞")
    private Boolean isLike;

    @ApiModelProperty("打卡记录")
    private Record record;

    @ApiModelProperty("评论Map集合（ key为父评论，value为子评论 ）")
    private List<CommentInfo> commentInfo;
}
